package cn.springboot.erp.enums;

/**
 *日志操作的操作模块枚举类
 */
public enum Operation {
    ADD("添加"),
    DELETE("删除"),
    UPDATE("更新"),
    SELECT("查询"),
    ADDORUPDATE("添加或更新"),
    LOGIN("登录"),
    LOGOUT("退出"),
    OTHER("其它");

    private String description;

    // 默认被private修饰
    Operation(String description ){

        this.description =description;
    }

    public String getDescription(){
        return  this.description;
    }
}
